<template>
  <div class="tab-bar">

    <tab-bar-item 
      v-for="(item, index) in itemData.itemList" 
      :item="item" 
      :key="index"
      :activeColor="itemData.activeColor">
    </tab-bar-item>

  </div>
</template>

<script>

  import TabBarItem from "@/components/common/tab-bar/TabBarItem.vue"

  export default {

    props: {
      itemData: {
        type: Object,
        default: {},
      },
    },

    components: {
      TabBarItem,
    },

    data() {
      return {
        
      }
    },

    computed: {
    
    },

    methods: {
      
    },

  }
</script>

<style scoped>

  .tab-bar {
    width: 100%;
    height: 59px;
    background-color: #f6f6f6;
    display: flex;
    position: fixed;
    bottom: 0;
  }

</style>